package com.czy.booktest02.demos.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
public class UserLoginDto {
    @NotBlank(message = "账号不能为空")
    @NotNull
    private String name;
    @NotBlank(message = "密码不能为空")
    @NotNull
    private String pwd;
}
